module AppsHelper

    def date_diff(app_version_released_date)
      pluralize(Rational(DateTime.parse("#{Time.new.strftime("%Y-%m-%d")}") - DateTime.parse("#{app_version_released_date}")).to_i, "day")
    end
end
